package com.shelpe.services.scheduler.po;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;


@Entity(name="adgroups")
public class Adgroups {
	
	@Id
	@Column(name="adgroup_id")
	private Long adgroupId;
	@Column(name="is_nonsearch_max_price")
    private Byte isNonsearchMaxPrice;

    private String nick;
    @Column(name="user_id")
    private Long userId;
    @Column(name="campaign_id")
    private Long campaignId;
    @Column(name="category_ids")
    private String categoryIds;
    @Column(name="num_iid")
    private Long numIid;
    @Column(name="default_price")
    private Integer defaultPrice;
    @Column(name="nonsearch_max_price")
    private Integer nonsearchMaxPrice;
    @Column(name="offline_type")
    private String offlineType;
    @Column(name="online_status")
    private String onlineStatus;
    @Column(name="modified_time")
    private Date modifiedTime;
    @Column(name="create_time")
    private Date createTime;
    @Column(name="updated_time")
    private Date updatedTime;
    @Column(name="place_id")
    private String placeId;
   
    private String title;
    @Column(name="item_imgs")
    private String itemImgs;
    @Column(name="img_url")
    private String imgUrl;
    @Column(name="drive_type")
    private Byte driveType;
 
    private Byte status;
    @Column(name="maintained_date")
    private Date maintainedDate;
    @Column(name="product_type")
    private String productType;
    @Column(name="product_props")
    private String productProps;
   
    private String reason;
    @Column(name="mobile_discount")
    private Float mobileDiscount;
    
	public Long getAdgroupId() {
		return adgroupId;
	}
	public void setAdgroupId(Long adgroupId) {
		this.adgroupId = adgroupId;
	}
	public Byte getIsNonsearchMaxPrice() {
		return isNonsearchMaxPrice;
	}
	public void setIsNonsearchMaxPrice(Byte isNonsearchMaxPrice) {
		this.isNonsearchMaxPrice = isNonsearchMaxPrice;
	}
	public String getNick() {
		return nick;
	}
	public void setNick(String nick) {
		this.nick = nick;
	}
	public Long getUserId() {
		return userId;
	}
	public void setUserId(Long userId) {
		this.userId = userId;
	}
	public Long getCampaignId() {
		return campaignId;
	}
	public void setCampaignId(Long campaignId) {
		this.campaignId = campaignId;
	}
	public String getCategoryIds() {
		return categoryIds;
	}
	public void setCategoryIds(String categoryIds) {
		this.categoryIds = categoryIds;
	}
	public Long getNumIid() {
		return numIid;
	}
	public void setNumIid(Long numIid) {
		this.numIid = numIid;
	}
	public Integer getDefaultPrice() {
		return defaultPrice;
	}
	public void setDefaultPrice(Integer defaultPrice) {
		this.defaultPrice = defaultPrice;
	}
	public Integer getNonsearchMaxPrice() {
		return nonsearchMaxPrice;
	}
	public void setNonsearchMaxPrice(Integer nonsearchMaxPrice) {
		this.nonsearchMaxPrice = nonsearchMaxPrice;
	}
	public String getOfflineType() {
		return offlineType;
	}
	public void setOfflineType(String offlineType) {
		this.offlineType = offlineType;
	}
	public String getOnlineStatus() {
		return onlineStatus;
	}
	public void setOnlineStatus(String onlineStatus) {
		this.onlineStatus = onlineStatus;
	}
	public Date getModifiedTime() {
		return modifiedTime;
	}
	public void setModifiedTime(Date modifiedTime) {
		this.modifiedTime = modifiedTime;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public Date getUpdatedTime() {
		return updatedTime;
	}
	public void setUpdatedTime(Date updatedTime) {
		this.updatedTime = updatedTime;
	}
	public String getPlaceId() {
		return placeId;
	}
	public void setPlaceId(String placeId) {
		this.placeId = placeId;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getItemImgs() {
		return itemImgs;
	}
	public void setItemImgs(String itemImgs) {
		this.itemImgs = itemImgs;
	}
	public String getImgUrl() {
		return imgUrl;
	}
	public void setImgUrl(String imgUrl) {
		this.imgUrl = imgUrl;
	}
	public Byte getDriveType() {
		return driveType;
	}
	public void setDriveType(Byte driveType) {
		this.driveType = driveType;
	}
	public Byte getStatus() {
		return status;
	}
	public void setStatus(Byte status) {
		this.status = status;
	}
	public Date getMaintainedDate() {
		return maintainedDate;
	}
	public void setMaintainedDate(Date maintainedDate) {
		this.maintainedDate = maintainedDate;
	}
	public String getProductType() {
		return productType;
	}
	public void setProductType(String productType) {
		this.productType = productType;
	}
	public String getProductProps() {
		return productProps;
	}
	public void setProductProps(String productProps) {
		this.productProps = productProps;
	}
	public String getReason() {
		return reason;
	}
	public void setReason(String reason) {
		this.reason = reason;
	}
	public Float getMobileDiscount() {
		return mobileDiscount;
	}
	public void setMobileDiscount(Float mobileDiscount) {
		this.mobileDiscount = mobileDiscount;
	}

}
